home *** CD-ROM | disk | FTP | other *** search
- # Example mysql config file.
- # You can copy this to one of:
- # /usr/freeware/etc/my.cnf to set global options,
- # mysql-data-dir/my.cnf to set server-specific options (in this
- # installation this directory is /var/spool/mysql) or
- # ~/.my.cnf to set user-specific options.
- #
- # One can use all long options that the program supports.
- # Run the program with --help to get a list of available options
-
- # This will be passed to all mysql clients
- [client]
- #password = my_password
- port = 3306
- socket = /tmp/mysql.sock
-
- # Here is entries for some specific programs
- # The following values assume you have at least 32M ram
-
- # The MySQL server
- [mysqld]
- port = 3306
- socket = /tmp/mysql.sock
- skip-locking
- set-variable = key_buffer=16M
- set-variable = max_allowed_packet=1M
- set-variable = thread_stack=128K
- # Start logging
- log
-
- [mysqldump]
- quick
- set-variable = max_allowed_packet=16M
-
- [mysql]
- no-auto-rehash
-
- [isamchk]
- set-variable = keybuffer=16M
-